home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / usr / include / asm-generic / int-ll64.h < prev    next >
C/C++ Source or Header  |  2008-10-24  |  771b  |  38 lines

  1. /*
  2.  * asm-generic/int-ll64.h
  3.  *
  4.  * Integer declarations for architectures which use "long long"
  5.  * for 64-bit types.
  6.  */
  7.  
  8. #ifndef _ASM_GENERIC_INT_LL64_H
  9. #define _ASM_GENERIC_INT_LL64_H
  10.  
  11. #ifndef __ASSEMBLY__
  12. /*
  13.  * __xx is ok: it doesn't pollute the POSIX namespace. Use these in the
  14.  * header files exported to user space
  15.  */
  16.  
  17. typedef __signed__ char __s8;
  18. typedef unsigned char __u8;
  19.  
  20. typedef __signed__ short __s16;
  21. typedef unsigned short __u16;
  22.  
  23. typedef __signed__ int __s32;
  24. typedef unsigned int __u32;
  25.  
  26. #ifdef __GNUC__
  27. __extension__ typedef __signed__ long long __s64;
  28. __extension__ typedef unsigned long long __u64;
  29. #else
  30. typedef __signed__ long long __s64;
  31. typedef unsigned long long __u64;
  32. #endif
  33.  
  34. #endif /* __ASSEMBLY__ */
  35.  
  36.  
  37. #endif /* _ASM_GENERIC_INT_LL64_H */
  38.